package com.mk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mk.dto.PageDTO;
import com.mk.entity.Pet;
import com.mk.query.PetQuery;

public interface IPetService extends IService<Pet> {
    //获取宠物信息
    Pet getByNumberPlate(String numberPlate);

    //学法减分
    void deductPoints(Long petId, Integer score);

    //客户端分页查询
    PageDTO<Pet> queryPetsPage(PetQuery query);

    //添加宠物
    void add(Pet pet);
}
